package com.ruoyi.system.domain;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

public class Mp3recordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public Mp3recordExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andHtmlNameIsNull() {
            addCriterion("html_name is null");
            return (Criteria) this;
        }

        public Criteria andHtmlNameIsNotNull() {
            addCriterion("html_name is not null");
            return (Criteria) this;
        }

        public Criteria andHtmlNameEqualTo(String value) {
            addCriterion("html_name =", value, "htmlName");
            return (Criteria) this;
        }

        public Criteria andHtmlNameNotEqualTo(String value) {
            addCriterion("html_name <>", value, "htmlName");
            return (Criteria) this;
        }

        public Criteria andHtmlNameGreaterThan(String value) {
            addCriterion("html_name >", value, "htmlName");
            return (Criteria) this;
        }

        public Criteria andHtmlNameGreaterThanOrEqualTo(String value) {
            addCriterion("html_name >=", value, "htmlName");
            return (Criteria) this;
        }

        public Criteria andHtmlNameLessThan(String value) {
            addCriterion("html_name <", value, "htmlName");
            return (Criteria) this;
        }

        public Criteria andHtmlNameLessThanOrEqualTo(String value) {
            addCriterion("html_name <=", value, "htmlName");
            return (Criteria) this;
        }

        public Criteria andHtmlNameLike(String value) {
            addCriterion("html_name like", value, "htmlName");
            return (Criteria) this;
        }

        public Criteria andHtmlNameNotLike(String value) {
            addCriterion("html_name not like", value, "htmlName");
            return (Criteria) this;
        }

        public Criteria andHtmlNameIn(List<String> values) {
            addCriterion("html_name in", values, "htmlName");
            return (Criteria) this;
        }

        public Criteria andHtmlNameNotIn(List<String> values) {
            addCriterion("html_name not in", values, "htmlName");
            return (Criteria) this;
        }

        public Criteria andHtmlNameBetween(String value1, String value2) {
            addCriterion("html_name between", value1, value2, "htmlName");
            return (Criteria) this;
        }

        public Criteria andHtmlNameNotBetween(String value1, String value2) {
            addCriterion("html_name not between", value1, value2, "htmlName");
            return (Criteria) this;
        }

        public Criteria andTittleIsNull() {
            addCriterion("tittle is null");
            return (Criteria) this;
        }

        public Criteria andTittleIsNotNull() {
            addCriterion("tittle is not null");
            return (Criteria) this;
        }

        public Criteria andTittleEqualTo(String value) {
            addCriterion("tittle =", value, "tittle");
            return (Criteria) this;
        }

        public Criteria andTittleNotEqualTo(String value) {
            addCriterion("tittle <>", value, "tittle");
            return (Criteria) this;
        }

        public Criteria andTittleGreaterThan(String value) {
            addCriterion("tittle >", value, "tittle");
            return (Criteria) this;
        }

        public Criteria andTittleGreaterThanOrEqualTo(String value) {
            addCriterion("tittle >=", value, "tittle");
            return (Criteria) this;
        }

        public Criteria andTittleLessThan(String value) {
            addCriterion("tittle <", value, "tittle");
            return (Criteria) this;
        }

        public Criteria andTittleLessThanOrEqualTo(String value) {
            addCriterion("tittle <=", value, "tittle");
            return (Criteria) this;
        }

        public Criteria andTittleLike(String value) {
            addCriterion("tittle like", value, "tittle");
            return (Criteria) this;
        }

        public Criteria andTittleNotLike(String value) {
            addCriterion("tittle not like", value, "tittle");
            return (Criteria) this;
        }

        public Criteria andTittleIn(List<String> values) {
            addCriterion("tittle in", values, "tittle");
            return (Criteria) this;
        }

        public Criteria andTittleNotIn(List<String> values) {
            addCriterion("tittle not in", values, "tittle");
            return (Criteria) this;
        }

        public Criteria andTittleBetween(String value1, String value2) {
            addCriterion("tittle between", value1, value2, "tittle");
            return (Criteria) this;
        }

        public Criteria andTittleNotBetween(String value1, String value2) {
            addCriterion("tittle not between", value1, value2, "tittle");
            return (Criteria) this;
        }

        public Criteria andMp3IsExistsIsNull() {
            addCriterion("mp3_is_exists is null");
            return (Criteria) this;
        }

        public Criteria andMp3IsExistsIsNotNull() {
            addCriterion("mp3_is_exists is not null");
            return (Criteria) this;
        }

        public Criteria andMp3IsExistsEqualTo(String value) {
            addCriterion("mp3_is_exists =", value, "mp3IsExists");
            return (Criteria) this;
        }

        public Criteria andMp3IsExistsNotEqualTo(String value) {
            addCriterion("mp3_is_exists <>", value, "mp3IsExists");
            return (Criteria) this;
        }

        public Criteria andMp3IsExistsGreaterThan(String value) {
            addCriterion("mp3_is_exists >", value, "mp3IsExists");
            return (Criteria) this;
        }

        public Criteria andMp3IsExistsGreaterThanOrEqualTo(String value) {
            addCriterion("mp3_is_exists >=", value, "mp3IsExists");
            return (Criteria) this;
        }

        public Criteria andMp3IsExistsLessThan(String value) {
            addCriterion("mp3_is_exists <", value, "mp3IsExists");
            return (Criteria) this;
        }

        public Criteria andMp3IsExistsLessThanOrEqualTo(String value) {
            addCriterion("mp3_is_exists <=", value, "mp3IsExists");
            return (Criteria) this;
        }

        public Criteria andMp3IsExistsLike(String value) {
            addCriterion("mp3_is_exists like", value, "mp3IsExists");
            return (Criteria) this;
        }

        public Criteria andMp3IsExistsNotLike(String value) {
            addCriterion("mp3_is_exists not like", value, "mp3IsExists");
            return (Criteria) this;
        }

        public Criteria andMp3IsExistsIn(List<String> values) {
            addCriterion("mp3_is_exists in", values, "mp3IsExists");
            return (Criteria) this;
        }

        public Criteria andMp3IsExistsNotIn(List<String> values) {
            addCriterion("mp3_is_exists not in", values, "mp3IsExists");
            return (Criteria) this;
        }

        public Criteria andMp3IsExistsBetween(String value1, String value2) {
            addCriterion("mp3_is_exists between", value1, value2, "mp3IsExists");
            return (Criteria) this;
        }

        public Criteria andMp3IsExistsNotBetween(String value1, String value2) {
            addCriterion("mp3_is_exists not between", value1, value2, "mp3IsExists");
            return (Criteria) this;
        }

        public Criteria andMp3OldNameIsNull() {
            addCriterion("mp3_old_name is null");
            return (Criteria) this;
        }

        public Criteria andMp3OldNameIsNotNull() {
            addCriterion("mp3_old_name is not null");
            return (Criteria) this;
        }

        public Criteria andMp3OldNameEqualTo(String value) {
            addCriterion("mp3_old_name =", value, "mp3OldName");
            return (Criteria) this;
        }

        public Criteria andMp3OldNameNotEqualTo(String value) {
            addCriterion("mp3_old_name <>", value, "mp3OldName");
            return (Criteria) this;
        }

        public Criteria andMp3OldNameGreaterThan(String value) {
            addCriterion("mp3_old_name >", value, "mp3OldName");
            return (Criteria) this;
        }

        public Criteria andMp3OldNameGreaterThanOrEqualTo(String value) {
            addCriterion("mp3_old_name >=", value, "mp3OldName");
            return (Criteria) this;
        }

        public Criteria andMp3OldNameLessThan(String value) {
            addCriterion("mp3_old_name <", value, "mp3OldName");
            return (Criteria) this;
        }

        public Criteria andMp3OldNameLessThanOrEqualTo(String value) {
            addCriterion("mp3_old_name <=", value, "mp3OldName");
            return (Criteria) this;
        }

        public Criteria andMp3OldNameLike(String value) {
            addCriterion("mp3_old_name like", value, "mp3OldName");
            return (Criteria) this;
        }

        public Criteria andMp3OldNameNotLike(String value) {
            addCriterion("mp3_old_name not like", value, "mp3OldName");
            return (Criteria) this;
        }

        public Criteria andMp3OldNameIn(List<String> values) {
            addCriterion("mp3_old_name in", values, "mp3OldName");
            return (Criteria) this;
        }

        public Criteria andMp3OldNameNotIn(List<String> values) {
            addCriterion("mp3_old_name not in", values, "mp3OldName");
            return (Criteria) this;
        }

        public Criteria andMp3OldNameBetween(String value1, String value2) {
            addCriterion("mp3_old_name between", value1, value2, "mp3OldName");
            return (Criteria) this;
        }

        public Criteria andMp3OldNameNotBetween(String value1, String value2) {
            addCriterion("mp3_old_name not between", value1, value2, "mp3OldName");
            return (Criteria) this;
        }

        public Criteria andMp3NewNameIsNull() {
            addCriterion("mp3_new_name is null");
            return (Criteria) this;
        }

        public Criteria andMp3NewNameIsNotNull() {
            addCriterion("mp3_new_name is not null");
            return (Criteria) this;
        }

        public Criteria andMp3NewNameEqualTo(String value) {
            addCriterion("mp3_new_name =", value, "mp3NewName");
            return (Criteria) this;
        }

        public Criteria andMp3NewNameNotEqualTo(String value) {
            addCriterion("mp3_new_name <>", value, "mp3NewName");
            return (Criteria) this;
        }

        public Criteria andMp3NewNameGreaterThan(String value) {
            addCriterion("mp3_new_name >", value, "mp3NewName");
            return (Criteria) this;
        }

        public Criteria andMp3NewNameGreaterThanOrEqualTo(String value) {
            addCriterion("mp3_new_name >=", value, "mp3NewName");
            return (Criteria) this;
        }

        public Criteria andMp3NewNameLessThan(String value) {
            addCriterion("mp3_new_name <", value, "mp3NewName");
            return (Criteria) this;
        }

        public Criteria andMp3NewNameLessThanOrEqualTo(String value) {
            addCriterion("mp3_new_name <=", value, "mp3NewName");
            return (Criteria) this;
        }

        public Criteria andMp3NewNameLike(String value) {
            addCriterion("mp3_new_name like", value, "mp3NewName");
            return (Criteria) this;
        }

        public Criteria andMp3NewNameNotLike(String value) {
            addCriterion("mp3_new_name not like", value, "mp3NewName");
            return (Criteria) this;
        }

        public Criteria andMp3NewNameIn(List<String> values) {
            addCriterion("mp3_new_name in", values, "mp3NewName");
            return (Criteria) this;
        }

        public Criteria andMp3NewNameNotIn(List<String> values) {
            addCriterion("mp3_new_name not in", values, "mp3NewName");
            return (Criteria) this;
        }

        public Criteria andMp3NewNameBetween(String value1, String value2) {
            addCriterion("mp3_new_name between", value1, value2, "mp3NewName");
            return (Criteria) this;
        }

        public Criteria andMp3NewNameNotBetween(String value1, String value2) {
            addCriterion("mp3_new_name not between", value1, value2, "mp3NewName");
            return (Criteria) this;
        }

        public Criteria andContentUrlIsNull() {
            addCriterion("content_url is null");
            return (Criteria) this;
        }

        public Criteria andContentUrlIsNotNull() {
            addCriterion("content_url is not null");
            return (Criteria) this;
        }

        public Criteria andContentUrlEqualTo(String value) {
            addCriterion("content_url =", value, "contentUrl");
            return (Criteria) this;
        }

        public Criteria andContentUrlNotEqualTo(String value) {
            addCriterion("content_url <>", value, "contentUrl");
            return (Criteria) this;
        }

        public Criteria andContentUrlGreaterThan(String value) {
            addCriterion("content_url >", value, "contentUrl");
            return (Criteria) this;
        }

        public Criteria andContentUrlGreaterThanOrEqualTo(String value) {
            addCriterion("content_url >=", value, "contentUrl");
            return (Criteria) this;
        }

        public Criteria andContentUrlLessThan(String value) {
            addCriterion("content_url <", value, "contentUrl");
            return (Criteria) this;
        }

        public Criteria andContentUrlLessThanOrEqualTo(String value) {
            addCriterion("content_url <=", value, "contentUrl");
            return (Criteria) this;
        }

        public Criteria andContentUrlLike(String value) {
            addCriterion("content_url like", value, "contentUrl");
            return (Criteria) this;
        }

        public Criteria andContentUrlNotLike(String value) {
            addCriterion("content_url not like", value, "contentUrl");
            return (Criteria) this;
        }

        public Criteria andContentUrlIn(List<String> values) {
            addCriterion("content_url in", values, "contentUrl");
            return (Criteria) this;
        }

        public Criteria andContentUrlNotIn(List<String> values) {
            addCriterion("content_url not in", values, "contentUrl");
            return (Criteria) this;
        }

        public Criteria andContentUrlBetween(String value1, String value2) {
            addCriterion("content_url between", value1, value2, "contentUrl");
            return (Criteria) this;
        }

        public Criteria andContentUrlNotBetween(String value1, String value2) {
            addCriterion("content_url not between", value1, value2, "contentUrl");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(LocalDateTime value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(LocalDateTime value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(LocalDateTime value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(LocalDateTime value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<LocalDateTime> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<LocalDateTime> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}